package com.my.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 财务日报
 * </p>
 *
 * @author 冯政尚
 * @since 2018-10-29
 */
@TableName("financial_daily")
public class FinancialDaily extends Model<FinancialDaily> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	private Long id;
    /**
     * 日期
     */
	private Long date;
    /**
     * 费用名称
     */
	@TableField("costName")
	private String costName;
    /**
     * 收入现金
     */
	@TableField("cashMoney")
	private Long cashMoney;
    /**
     * 收入银行存款
     */
	@TableField("cashDeposit")
	private Long cashDeposit;
    /**
     * 支出现金
     */
	@TableField("expenditureMoney")
	private Long expenditureMoney;
    /**
     * 支出银行存款
     */
	@TableField("expenditureDeposit")
	private Long expenditureDeposit;
    /**
     * 余额
     */
	private Long balance;
    /**
     * 备注
     */
	private String remarks;

	/**
	 * 创建时间
	 * @return
	 */
	@TableField("createTime")
	private  Long createTime;

	/**
	 * 地区
	 * @return
	 */
	private Long areaid;

	/**
	 * 昨天剩余
	 * @return
	 */
	@TableField("yesterdayMoney")
	private Long yesterdayMoney;

	/**
	 * 收入总计
	 * @return
	 */
	@TableField(exist = false)
	private  Long incomeTotal;

	/**
	 * 支出总计
	 * @return
	 */
	@TableField(exist = false)
	private Long totalExpenditure;

	/**
	 * 支出类型
	 * @return
	 */
	@TableField("incomeType")
	private String incomeType;

	/**
	 * 收入类型
	 * @return
	 */
	@TableField("typeExpenditure")
	private String typeExpenditure;

	/**
	 * paymentType
	 * @return
	 */
	@TableField("paymentType")
private String paymentType;


    /**
     * 收入现金
     * @return
     */
    @TableField("incomeMoney")
   private Long incomeMoney;

    /**
     * 录入人
     * @return
     */
    private String person;

    /**
     * 负责人签字啊
     * @return
     */
private String responsible;

    /**
     * 收支类型 income
     * @return
     */
    private String income;

    public Long getIncomeMoney() {
        return incomeMoney;
    }

    public void setIncomeMoney(Long incomeMoney) {
        this.incomeMoney = incomeMoney;
    }

    public String getPerson() {
        return person;
    }

    public void setPerson(String person) {
        this.person = person;
    }

    public String getResponsible() {
        return responsible;
    }

    public void setResponsible(String responsible) {
        this.responsible = responsible;
    }

    public String getIncome() {
        return income;
    }

    public void setIncome(String income) {
        this.income = income;
    }

    public Long getYesterdayMoney() {
		return yesterdayMoney;
	}

	public void setYesterdayMoney(Long yesterdayMoney) {
		this.yesterdayMoney = yesterdayMoney;
	}

	public Long getIncomeTotal() {
		return incomeTotal;
	}

	public void setIncomeTotal(Long incomeTotal) {
		this.incomeTotal = incomeTotal;
	}

	public Long getTotalExpenditure() {
		return totalExpenditure;
	}

	public void setTotalExpenditure(Long totalExpenditure) {
		this.totalExpenditure = totalExpenditure;
	}

	public String getIncomeType() {
		return incomeType;
	}

	public void setIncomeType(String incomeType) {
		this.incomeType = incomeType;
	}

	public String getTypeExpenditure() {
		return typeExpenditure;
	}

	public void setTypeExpenditure(String typeExpenditure) {
		this.typeExpenditure = typeExpenditure;
	}

	public String getPaymentType() {
		return paymentType;
	}

	public void setPaymentType(String paymentType) {
		this.paymentType = paymentType;
	}

	public Long getAreaid() {
		return areaid;
	}

	public void setAreaid(Long areaid) {
		this.areaid = areaid;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getDate() {
		return date;
	}

	public void setDate(Long date) {
		this.date = date;
	}

	public String getCostName() {
		return costName;
	}

	public void setCostName(String costName) {
		this.costName = costName;
	}

	public Long getCashMoney() {
		return cashMoney;
	}

	public void setCashMoney(Long cashMoney) {
		this.cashMoney = cashMoney;
	}

	public Long getCashDeposit() {
		return cashDeposit;
	}

	public void setCashDeposit(Long cashDeposit) {
		this.cashDeposit = cashDeposit;
	}

	public Long getExpenditureMoney() {
		return expenditureMoney;
	}

	public void setExpenditureMoney(Long expenditureMoney) {
		this.expenditureMoney = expenditureMoney;
	}

	public Long getExpenditureDeposit() {
		return expenditureDeposit;
	}

	public void setExpenditureDeposit(Long expenditureDeposit) {
		this.expenditureDeposit = expenditureDeposit;
	}

	public Long getBalance() {
		return balance;
	}

	public void setBalance(Long balance) {
		this.balance = balance;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

    @Override
    public String toString() {
        return "FinancialDaily{" +
                "id=" + id +
                ", date=" + date +
                ", costName='" + costName + '\'' +
                ", cashMoney=" + cashMoney +
                ", cashDeposit=" + cashDeposit +
                ", expenditureMoney=" + expenditureMoney +
                ", expenditureDeposit=" + expenditureDeposit +
                ", balance=" + balance +
                ", remarks='" + remarks + '\'' +
                ", createTime=" + createTime +
                ", areaid=" + areaid +
                ", yesterdayMoney=" + yesterdayMoney +
                ", incomeTotal=" + incomeTotal +
                ", totalExpenditure=" + totalExpenditure +
                ", incomeType='" + incomeType + '\'' +
                ", typeExpenditure='" + typeExpenditure + '\'' +
                ", paymentType='" + paymentType + '\'' +
                ", incomeMoney=" + incomeMoney +
                ", person='" + person + '\'' +
                ", responsible='" + responsible + '\'' +
                ", income=" + income +
                '}';
    }
}
